package sq.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import sq.dao.FoodType;

import java.util.List;

/**
 * @author sunquan
 * 2018/2/6
 * @description
 */
public interface FoodTypeRepository extends JpaRepository<FoodType,Integer> {
    @Override
    List<FoodType> findAll();

    FoodType findFoodTypeByTypeId(Integer typeId);
}
